From f39864ec14892d9114ec9e66b802f1a37e0264e7 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 18 Mar 2003 09:41:39 +0000 Subject: [PATCH] (command-line-1): Use command-execute for any command. --- lisp/startup.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/startup.el b/lisp/startup.el index b12c2042066..bddbeeda45b 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -1623,7 +1623,7 @@ normal otherwise." "-funcall" "-e")) ; what the source used to say (setq tem (intern (or argval (pop command-line-args-left)))) - (if (arrayp (symbol-function tem)) + (if (commandp tem) (command-execute tem) (funcall tem))) -- 2.30.2